package com.neusoft.bizcore.activiti.service;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import com.neusoft.bizcore.activiti.dto.ProcessFormDTO;
import com.neusoft.bizcore.web.support.Searchable;

public interface ProcessFormService {

    List<ProcessFormDTO> index(Searchable searchable);

    Page<ProcessFormDTO> search(Pageable pageable, Searchable searchable);

    ProcessFormDTO create(ProcessFormDTO dto);

    ProcessFormDTO update(Long id, ProcessFormDTO dto);

    ProcessFormDTO details(Long id);

    void delete(Long id);

    String getFormNameBykey(String key);

}
